package com.example.administrator.caigou51.activity;

import android.os.Bundle;
import android.view.View;
import android.widget.LinearLayout;

import com.example.administrator.caigou51.R;
import com.example.administrator.caigou51.widget.wheel.SelectAreaPopupWindow;


/**
 * Created by Administrator on 2016/5/17/017.
 */
public class AddressEditActivity extends GBaseActivity implements SelectAreaPopupWindow.InterFaceGetData{

    private boolean isGetAddress;
    private LinearLayout linearLayoutChooseArea;
    private SelectAreaPopupWindow selectAreaPopupWindow;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        super.setContentViewFor720_1280(R.layout.activity_edit_address);
        findViewByIds();
        initDatas();
        fillArrayInListView();
    }


    protected void findViewByIds() {
        linearLayoutChooseArea =(LinearLayout) findViewById(R.id.linearLayoutChooseArea);linearLayoutChooseArea.setOnClickListener(this);
    }


    protected void initDatas() {
    setTopTitle("编辑收货地址");
    setRightText(View.VISIBLE,"删除");
        }

    protected void fillArrayInListView() {

    }




    @Override
    public void getData(String ProviceName, String CityName, String DistrictName, String DistrictName_id) {
/*        setAddressCard.getAddressInfo().setRegion_name((ProviceName + CityName + DistrictName));
        setAddressCard.getAddressInfo().setRegion_id(DistrictName_id);
        listview.getAdapter().notifyDataSetChanged();*/
    }
}
